//Eg3-6.cpp
#include <iostream>
using namespace std;
class B{
private:
    int *a;
    char *pc;
public:
    inline B(int x){
        a=new int[10];
        pc=new char;
    }
    inline ~B(){
        delete []a;
        delete pc;
    }
};
void main(){
    B x(1);
}
